import request from '@/utils/request';

export default{
    getCourseComment(courseId){
        return request({
            url:`/eduservice/edu-comment/getCourseComment/${courseId}`,
            method:'get'
        })
    },
    addComment(comment){
        return request({
            url:`/eduservice/edu-comment/addComment`,
            method:'post',
            data:comment
        })
    }
}